<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Carson_Ho</title>

    // JS代码
    <script>
// Android需要调用的方法
   function callJS(){
      alert("Android调用了JS的callJS方法");
   }
    function sayHello() {   alert("Hello")    }
       function alertMessage(message) {   alert(message)    }
       function toastMessage(message)
       {  window.control.toastMessage(message)    }
       function sumToJava(number1, number2){
         window.control.onSumResult(number1 + number2)    }
       function mult1(x,y) {
        window.control.onMultResult(x*y)
       }
       function mult2(x,y) {
        return  x*y;
       }
      function sub(x,y) {
       return  x-y;  }

    </script>

</head>

</html>